package stool.proxy;

/**
 * @author Felix YF Dong
 * @date 2021/5/2
 */
public class Pursuit implements IGiveGift{

    SchoolGirl girl;

    public Pursuit(SchoolGirl girl) {
        this.girl = girl;
    }

    @Override
    public void giveDolls() {

        System.out.println(girl.getName() + "送洋娃娃");
    }

    @Override
    public void giveFlowers() {
        System.out.println(girl.getName() + "送花");
    }

    @Override
    public void giveChocolate() {
        System.out.println(girl.getName() + "送巧克力");
    }
}
